from djangooptions import OptionSet

Options = OptionSet("Announcements")
Options.enable_option(True)
Options.text_option("Announcements Title", "Announcements", "The heading to show when displaying announcements")
Options.text_option("Events Title", "Events", "The heading to show when displaying events")
Options.boolean_option("Hide Empty Announcements", False, "Whether or not to show an empty announcements list if there are no announcements")
Options.boolean_option("Hide Empty Events", True, "Whether or not to show an empty events list if there are no events")
Options.boolean_option("Show Announcements Title", False, "Whether or not to show the announcements title")
Options.boolean_option("Show Events Title", False, "Whether or not to show the events title")
Options.boolean_option("Show Full Text", True, "If True, shows the full text of announcements and events on the front page")
Options.text_option("Empty Announcements Text", "No announcements yet. Stay tuned!", "Text to show when the announcements list is empty")
Options.text_option("Empty Events Text", "No upcoming events.", "Text to show when the events list is empty")